#ifndef __LOG_DEFINE_H__
#define __LOG_DEFINE_H__

namespace NetComp
{


//log level
#define LOGLV_NONE		0x00000000
#define LOGLV_DEBUG		0x00000001
#define LOGLV_INFO      (0x00000001<<1)
#define LOGLV_WARNING   (0x00000001<<2)
#define LOGLV_ERROR     (0x00000001<<3)
#define LOGLV_CRITICAL  (0x00000001<<4)

enum FileLogMode
{
	FLM_SINGLE_FILE,
	FLM_TIME_DIVIDE,
};

enum LoggerType
{
	LT_FILE,
	LT_CONSOLE,
	LT_DB,
	LT_TCP,
	LT_UDP,
}
#endif
